import requestInstance from '../utils/request';
const http = requestInstance();

// 企业端的报告列表
export function selectQYReport(data) {
  data.logintoken = wx.getStorageSync("userinfo").logintoken
  return http.request({
    url: '/wechatApi/selectQYReport',
    method: 'get',
    data: data
  })
}

// 查询报告详情
export function getReportDetail(data) {
  data.logintoken = wx.getStorageSync("userinfo").logintoken
  return http.request({
    url: '/wechatApi/getCheckListInfoTable',
    method: 'get',
    data: data
  })
}
// 查询报告详情
export function exportPDF(data) {
  data.logintoken = wx.getStorageSync("userinfo").logintoken
  return http.request({
    url: '/wechatApi/exportPDF',
    method: 'get',
    data: data
  })
}
// 查询报告详情
export function exportWord(data) {
  data.logintoken = wx.getStorageSync("userinfo").logintoken
  return http.request({
    url: '/wechatApi/exportWord',
    method: 'get',
    data: data
  })
}
